export default {
    state: {
        goodsInfo:{},
        productID:''
    },
    getters: {
        getGoodsInfo(state){
            return state.goodsInfo
        }
    },
    mutations: {
        initGoods(state,goods){
            state.goodsInfo = goods
            state.productID = goods.id
        }
    },
    actions: {
    },
    modules: {
    }
}